main: Avoid a crash with crossing event handling
authorMatthias Clasen <mclasen@redhat.com>
Wed, 26 Aug 2020 11:26:01 +0000 (07:26 -0400)
committerAhmed Eldemery <aeldemery.de@gmail.com>
Fri, 28 Aug 2020 16:45:01 +0000 (18:45 +0200)
commit76e83d32163f618d726f3aa841537ac1af5ce07e
treec9a7aad0eeb5373706450059aebf3a95192d64bb
parent002376f837f7dc8f1211339523ec1c9a90304dc8
main: Avoid a crash with crossing event handling

We are reusing the GtkCrossingData struct for multiple
calls here, so we need to make sure that the targets
stay alive from beginning to end.

Fixes: #3090
gtk/gtkmain.c